function dl(){
    let Yhname=document.querySelectorAll("input[type='text']")[0].value;
    let pwd=document.querySelectorAll("input[type='password']")[0].value;
    class User{
        constructor(user,pwd){
            this.user=user;
            this.pwd=pwd;
        }
    }
    let user=new User();
    user.user=Yhname;
    user.pwd=pwd;
    $.ajax({
        type:"pson",
        url:"/js/fundl",
        data:JSON.stringify(user),
        dataType:"json",
        success:function(data){
            if(data){
                alert("登录成功");
            }
        }
    })
}